<?php
if(CHILDTEMPLATEPATH && file_exists(CHILDTEMPLATEPATH . '/store_page_above_title.php'))
{
	include_once(CHILDTEMPLATEPATH . '/store_page_above_title.php');
}
?>
		<div class="breadcrumb clearfix">
        	<a href="<?php echo site_url(); ?>">Home</a>  
            <?php echo $_GET['ptype']; ?>
		</div>

<?php
if(CHILDTEMPLATEPATH && file_exists(CHILDTEMPLATEPATH . '/store_page_below_title.php'))
{
	include_once(CHILDTEMPLATEPATH . '/store_page_below_title.php');
}
?>   
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/library/js/jquery-latest.js"></script>
<?php $General->get_product_listing_thumb_view_js('store');?>
<?php
if(have_posts())
{
?>
  <ul style="display: block;" class="display <?php echo $General->all_product_listing_format();?>">
    <?php
    while(have_posts())
    {
        the_post();
		?>
        <li> <div class="content_block">
        <span class="curve lt"></span>
<span class="curve rt"></span>
<span class="curve lb"></span>
<span class="curve rb"></span>
        <?php
       $Product->product_listing_li_default($post,$args,'thumb',0);
	   ?>
       </div>
       </li>
       <?php
    }
    ?>
  </ul>
  
  <?php
}
?>
<?php
if(CHILDTEMPLATEPATH && file_exists(CHILDTEMPLATEPATH . '/store_page_above_pagination.php'))
{
	include_once(CHILDTEMPLATEPATH . '/store_page_above_pagination.php');
}
?>
    <div class="pagination">
    
      <?php if (function_exists('wp_pagenavi')) { ?>
      <?php wp_pagenavi(); ?>
      <?php } ?>
   
  </div>
<?php
if(CHILDTEMPLATEPATH && file_exists(CHILDTEMPLATEPATH . '/store_page_below_pagination.php'))
{
	include_once(CHILDTEMPLATEPATH . '/store_page_below_pagination.php');
}
?>